-- GENERATED SPELL FOR [Felsworn Scalewing] --


function spell0_21123(pUnit, Event) --@Poison Spit,n/a--
pUnit:FullCastSpellOnTarget(32093,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21123', 12500, 1)
end

function Sorts_21123(pUnit, Event)
local choix_sorts_21123 = math.random(0, 0)
if choix_sorts_21123 == 0 then
pUnit:RegisterEvent('spell0_21123', 1, 1)
end
end

function mob21123_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21123', math.random(1500, 3000), 1)
end

function mob21123_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21123_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21123_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21123, 1, 'mob21123_Action')
RegisterUnitEvent(21123, 2, 'mob21123_Leave')
RegisterUnitEvent(21123, 3, 'mob21123_Kill')
RegisterUnitEvent(21123, 4, 'mob21123_Die')
